package presentacion;
public class frmPrincipal extends javax.swing.JFrame {
   /** Creates new form frmPrincipal */
    public frmPrincipal() {
        initComponents();
    }
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        btnNumero = new javax.swing.JButton();
        btnVector = new javax.swing.JButton();
        btnConjunto = new javax.swing.JButton();
        btnLista = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        btnNumero.setText("Numeros Enteros");
        btnNumero.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnNumeroActionPerformed(evt);
            }
        });

        btnVector.setText("Vector");
        btnVector.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnVectorActionPerformed(evt);
            }
        });

        btnConjunto.setText("Conjunto");
        btnConjunto.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnConjuntoActionPerformed(evt);
            }
        });

        btnLista.setText("Lista Clientes");
        btnLista.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnListaActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(43, 43, 43)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(btnLista)
                    .addComponent(btnConjunto)
                    .addComponent(btnVector)
                    .addComponent(btnNumero))
                .addContainerGap(242, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(87, 87, 87)
                .addComponent(btnNumero)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btnVector)
                .addGap(18, 18, 18)
                .addComponent(btnConjunto)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(btnLista)
                .addContainerGap(86, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void btnNumeroActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnNumeroActionPerformed
 FrmEnter f=new FrmEnter();
        f.setVisible(true);
    }//GEN-LAST:event_btnNumeroActionPerformed
    private void btnVectorActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnVectorActionPerformed
        frmVector f1=new frmVector();
        f1.setVisible(true);
    }//GEN-LAST:event_btnVectorActionPerformed

    private void btnConjuntoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnConjuntoActionPerformed
        frmConjunto f1=new frmConjunto();
        f1.setVisible(true);
    }//GEN-LAST:event_btnConjuntoActionPerformed

    private void btnListaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnListaActionPerformed
       frmCliente f1=new frmCliente();
        f1.setVisible(true);
    }//GEN-LAST:event_btnListaActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new frmPrincipal().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnConjunto;
    private javax.swing.JButton btnLista;
    private javax.swing.JButton btnNumero;
    private javax.swing.JButton btnVector;
    // End of variables declaration//GEN-END:variables
}
